//
//  TaxesSecondHandView.m
//  Rong360
//
//  Created by tianliwei on 16/2/14.
//  Copyright (c) 2014 tianliwei. All rights reserved.
//

#import "TaxesSecondHandView.h"

@implementation TaxesSecondHandView

- (id)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        // Initialization code
    }
    return self;
}
- (void)setOriginPriceEnable:(BOOL)isOrNot{
    if (isOrNot) {
        self.originPriceField.textColor = APPCOLOR;
        [self.originPriceField setEnabled:YES];

        self.originPriceLabel.textColor = [UIColor blackColor];
        self.originPriceUnit.textColor = [UIColor blackColor];
    }else{
        self.originPriceField.textColor = [UIColor lightGrayColor];
        [self.originPriceField setEnabled:NO];
        self.originPriceLabel.textColor = [UIColor lightGrayColor];
        self.originPriceUnit.textColor = [UIColor lightGrayColor];
    }
}
/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect
{
    // Drawing code
}
*/

@end
